Directory Toolkit Command Script Syntax (Ver 3.8+) FILTER SETTINGS FOR SCRIPTS Funduc Software, Inc Copyright 1996-2010 http://www.funduc.com    http://www.searchandreplace.com support@Funduc.com     support@searchandreplace.com  Here are some details and example settings on the Max Size Filter=, Min Date Filter=, Max Date Filter=, Filter Skip Mask=, Ignored Attributes Mask= and Reverse Filters= switches for Directory Toolkit v 3.3. NOTE: It is NOT a sample script. DO NOT submit this file to the program as a script. Folder Synchronize Users: Two script switches differ in the Folder Synchronize 'original' script syntax. See your Folder Synchronize documentation for more information. Specifically: Dir Toolkit Syntax Folder Synchronize Form ------------------ ----------------------- Skip Files Mask= Filter Skip Mask= Ignore Attributes= Ignored Attributes Mask= # is the comment character for scripts. The number of combinations of values is extensive for Skip Files Mask=, Ignore Attributes=, and Reverse Filters=. Some example settings are below. Additional settings are possible. The Folder Synchronize Script Editor can be used to generate a script. You can also experiment with the Directory Toolkit Options-Filter dialog and establish a file list output that meets your needs. Then use the Directory Toolkit 'Write Options To Script' function (View Menu) to export your settings to a script. Use your text editor to get the Max Size Filter=, Min Date Filter=, Max Date Filter=, Skip Files Mask=, Ignore Attributes= and Reverse Filters= settings from that exported script into your production script. It is also OK to write us at support@funduc.com ;-) # *** SIZE & DATE EXCLUDE FILTERS *** # Size & date filters exclude files by size &/or date. Any files # that are less than the minimum size (in bytes) will be excluded # from the operation. If you use Reverse Filters=1, the settings # work as 'include' filters. Dates use the format specified in # Control Panel (Regional Settings). Leave blank or omit entirely if # you want no setting. # Also note that you can use the string, %%today%%, for the two # date filters. When specified, %%today%% automatically uses the # current computer date for the respective filter setting. You can # add or subtract days by specifying a +/- value before the ending # %%. Examples: %%today-5%% uses a date filter of the current date # minus 5 days; %%today+1%% adds one day to the current date. # Min Size Filter=0 # Max Size Filter=100000 # Min Date Filter=8/21/2005 # Max Date Filter=8/23/2006 # *** REVERSE FILTERS *** # Reverse filters= is used to make the other filter switches # function as exlude or include filters. For example, Reverse # Filters=0 & Max Date Filter=01/01/2006 excludes all files with a # stamp after Jan 01, 2006. Reverse Filters=1 changes this to # include only files dated Jan 01, 2006 or after. # The values are: # 0 = Do not use Reverse Filtering. # 1 = Reverse Filter mode enabled. # If not specified, Default = 0. Reverse Filters=0 # *** FILE & DIRECTORY ATTRIBUTE FILTERS **** # # The Skip Files Mask= and Ignore Attributes= switches are used # together, in conjunction with Reverse Filters= to exclude/include # some file types in the operation. # The default values of Skip Files Mask=0 & Ignore Attributes=55 # mean no files or subdirs are filtered. If you wish to use these # defaults it is not necessary to specify these switches. # Please use the below list for some common settings. # Important: The Directory Toolkit Options-Filter dialog can # establish settings to list directories only. Directories can be # further limited to one or more attributes. However, do use # directory-only settings for your scripted synchronize operations. # The program considers files during synch operations and the # Operation=7 function (recreate subdirs) recreates all subdirs, # regardless of filter settings. # *** SOME SAMPLE SETTINGS **** # Paste all three script switches into your script. # Include files that are Read-Only along with any other attribute Skip Files Mask=1 Ignore Attributes=54 Reverse Filters=1 # Exclude files that are Read-Only along with any other attribute Skip Files Mask=1 Ignore Attributes=54 Reverse Filters=0 # Include files that are solely Read-Only Skip Files Mask=1 Ignore Attributes=16 Reverse Filters=1 # Exclude files that are solely Read-Only Skip Files Mask=1 Ignore Attributes=16 Reverse Filters=0 # Include Archive along with any other attribute Skip Files Mask=32 Ignore Attributes=23 Reverse Filters=1 # Exclude Archive along with any other attribute Skip Files Mask=32 Ignore Attributes=23 Reverse Filters=0 # Include solely Archive Skip Files Mask=32 Ignore Attributes=16 Reverse Filters=1 # Exclude solely Archive Skip Files Mask=32 Ignore Attributes=16 Reverse Filters=0 # Include System along with any other attribute Skip Files Mask=4 Ignore Attributes=51 Reverse Filters=1 # Exclude System along with any other attribute Skip Files Mask=4 Ignore Attributes=51 Reverse Filters=0 # Include solely System Skip Files Mask=4 Ignore Attributes=16 Reverse Filters=1 # Exclude solely System Skip Files Mask=4 Ignore Attributes=16 Reverse Filters=0 # Include Hidden along with any other attribute Skip Files Mask=2 Ignore Attributes=53 Reverse Filters=1 # Exclude Hidden along with any other attribute Skip Files Mask=2 Ignore Attributes=53 Reverse Filters=0 # Include solely Hidden Skip Files Mask=2 Ignore Attributes=16 Reverse Filters=1 # Exclude solely Hidden Skip Files Mask=2 Ignore Attributes=16 Reverse Filters=0 # Include Read-Only & Hidden along with any other attribute Skip Files Mask=3 Ignore Attributes=52 Reverse Filters=1 # Exclude Read-Only & Hidden along with any other attribute Skip Files Mask=3 Ignore Attributes=52 Reverse Filters=0 # Include solely Read-Only & Hidden Alone Skip Files Mask=3 Ignore Attributes=16 Reverse Filters=1 # Exclude solely Read-Only & Hidden Skip Files Mask=3 Ignore Attributes=16 Reverse Filters=0 # Include Read-Only, Hidden, & System along with any other attribute Skip Files Mask=7 Ignore Attributes=48 Reverse Filters=1 # Exclude Read-Only, Hidden, & System along with any other attribute Skip Files Mask=7 Ignore Attributes=48 Reverse Filters=0 # Include solely Read-Only, Hidden, & System Skip Files Mask=7 Ignore Attributes=16 Reverse Filters=1 # Exclude solely Read-Only, Hidden, & System Skip Files Mask=7 Ignore Attributes=16 Reverse Filters=0 # Include files with No Attribute Setting Skip Files Mask=0 Ignore Attributes=16 Reverse Filters=1 # Exclude files with No Attribute Setting Skip Files Mask=0 Ignore Attributes=16 Reverse Filters=0